<?php
ob_start();
$this->renderPartial("Comments/_comment.php",array('comment' => $this->comment, 'objectId' => $this->objectId));
 
$result = array();
        $result['success'] = $this->status;
        $result['comment'] = ob_get_clean();
        echo json_encode(array('result' => $result));
?>